home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_076
/
include
/
devices
/
conunit.g
< prev
next >
Wrap
Text File
|
1992-05-06
|
1KB
|
38 lines
/* requires previous inclusion of:
include:exec/io.g include:devices/console.g include:devices/inputevent.g */
uint
PMB_ASM = M_LNM + 1,
PMB_AWM = PMB_ASM + 1,
MAXTABS = 80;
type
MsgPort_t = unknown 34,
KeyMap_t = unknown 32,
ConUnit_t = struct {
MsgPort_t cu_MP;
*Window_t cu_Window;
uint cu_XCP, cu_YCP;
uint cu_XMax, cu_YMax;
uint cu_XRSize, cu_YRSize;
uint cu_XROrigin, cu_YROrigin;
uint cu_XRExtant, cu_YRExtant;
uint cu_XMinShrink, cu_YMinShrink;
uint cu_XCCP, cu_YCCP;
KeyMap_t cu_KeyMapStruct;
[MAXTABS]uint cu_TabStops;
ushort cu_Mask, cu_FgPen, cu_BgPen, cu_AOLPen, cu_DrawMode,cu_AreaPtSz;
*byte cu_AreaPtrn;
[8]byte cu_Minterms;
*TextFont_t cu_Font;
ushort cu_AlgoStyle, cu_TxFlags;
uint cu_TxHeight, cu_TxWidth, cu_TxBaseLine, cu_TxSpacing;
[(PMB_AWM+7)/8]byte cu_Modes;
[(IECLASS_MAX+7)/8]byte cu_RawEvents;
};
extern
CDInputHandler(*InputEvent_t events; *Device_t consoleDevice)*InputEvent_t,
RawKeyConvert(*InputEvent_t event; *char buffer; ulong length;
*KeyMap_t keyMap)long;